package com.wyzz.hr.pojo.base;

import java.io.Serializable;
import java.util.Date;

import com.wyzz.hr.pojo.Employee;
import com.wyzz.hr.pojo.Recruitapplier;
import com.wyzz.hr.pojo.Recruitchannel;
import com.wyzz.hr.pojo.Recruitplan;

public abstract class BaseRecruitapplier implements Serializable {

	public BaseRecruitapplier() {
		hashCode = 0x80000000;
		initialize();
	}

	public BaseRecruitapplier(String id) {
		hashCode = 0x80000000;
		setId(id);
		initialize();
	}

	public BaseRecruitapplier(String id, Recruitchannel recaChannel,
			Employee recaLastChangeBy, Recruitplan recaPlan,
			Employee recaCreateBy, String recaName, Date recaCreateTime,
			Date recaLastChangeTime) {
		hashCode = 0x80000000;
		setId(id);
		setRecaChannelNo(recaChannel);
		setRecaLastChangeBy(recaLastChangeBy);
		setRecaPlanId(recaPlan);
		setRecaCreateBy(recaCreateBy);
		setRecaName(recaName);
		setRecaCreateTime(recaCreateTime);
		setRecaLastChangeTime(recaLastChangeTime);
		initialize();
	}

	protected void initialize() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
		hashCode = 0x80000000;
	}

	public String getRecaName() {
		return recaName;
	}

	public void setRecaName(String recaName) {
		this.recaName = recaName;
	}

	public String getRecaPhone() {
		return recaPhone;
	}

	public void setRecaPhone(String recaPhone) {
		this.recaPhone = recaPhone;
	}

	public String getRecaMsn() {
		return recaMsn;
	}

	public void setRecaMsn(String recaMsn) {
		this.recaMsn = recaMsn;
	}

	public String getRecaQq() {
		return recaQq;
	}

	public void setRecaQq(String recaQq) {
		this.recaQq = recaQq;
	}

	public String getRecaEmail() {
		return recaEmail;
	}

	public void setRecaEmail(String recaEmail) {
		this.recaEmail = recaEmail;
	}

	public String getRecaDiploma() {
		return recaDiploma;
	}

	public void setRecaDiploma(String recaDiploma) {
		this.recaDiploma = recaDiploma;
	}

	public Date getRecaInterviewTime() {
		return recaInterviewTime;
	}

	public void setRecaInterviewTime(Date recaInterviewTime) {
		this.recaInterviewTime = recaInterviewTime;
	}

	public Employee getRecaInterviewer() {
		return recaInterviewer;
	}

	public void setRecaInterviewer(Employee recaInterviewer) {
		this.recaInterviewer = recaInterviewer;
	}

	public String getRecaAttachmentName() {
		return recaAttachmentName;
	}

	public void setRecaAttachmentName(String recaAttachmentName) {
		this.recaAttachmentName = recaAttachmentName;
	}

	public Integer getRecaStatus() {
		return recaStatus;
	}

	public void setRecaStatus(Integer recaStatus) {
		this.recaStatus = recaStatus;
	}

	public String getRecaComment() {
		return recaComment;
	}

	public void setRecaComment(String recaComment) {
		this.recaComment = recaComment;
	}

	public Date getRecaCreateTime() {
		return recaCreateTime;
	}

	public void setRecaCreateTime(Date recaCreateTime) {
		this.recaCreateTime = recaCreateTime;
	}

	public Date getRecaLastChangeTime() {
		return recaLastChangeTime;
	}

	public void setRecaLastChangeTime(Date recaLastChangeTime) {
		this.recaLastChangeTime = recaLastChangeTime;
	}

	public String getRecaChannelId() {
		return recaChannelId;
	}

	public void setRecaChannelId(String recaChannelId) {
		this.recaChannelId = recaChannelId;
	}

	public Date getRecaApplyDate() {
		return recaApplyDate;
	}

	public void setRecaApplyDate(Date recaApplyDate) {
		this.recaApplyDate = recaApplyDate;
	}

	public Integer getRecaGender() {
		return recaGender;
	}

	public void setRecaGender(Integer recaGender) {
		this.recaGender = recaGender;
	}

	public String getRecaCurrLoc() {
		return recaCurrLoc;
	}

	public void setRecaCurrLoc(String recaCurrLoc) {
		this.recaCurrLoc = recaCurrLoc;
	}

	public String getRecaResidenceLoc() {
		return recaResidenceLoc;
	}

	public void setRecaResidenceLoc(String recaResidenceLoc) {
		this.recaResidenceLoc = recaResidenceLoc;
	}

	public String getRecaWorkYears() {
		return recaWorkYears;
	}

	public void setRecaWorkYears(String recaWorkYears) {
		this.recaWorkYears = recaWorkYears;
	}

	public String getRecaSchool() {
		return recaSchool;
	}

	public void setRecaSchool(String recaSchool) {
		this.recaSchool = recaSchool;
	}

	public String getRecaSpeciality() {
		return recaSpeciality;
	}

	public void setRecaSpeciality(String recaSpeciality) {
		this.recaSpeciality = recaSpeciality;
	}

	public String getRecaCurrAddr() {
		return recaCurrAddr;
	}

	public void setRecaCurrAddr(String recaCurrAddr) {
		this.recaCurrAddr = recaCurrAddr;
	}

	public String getRecaCurrZip() {
		return recaCurrZip;
	}

	public void setRecaCurrZip(String recaCurrZip) {
		this.recaCurrZip = recaCurrZip;
	}

	public String getRecaCurrCompany() {
		return recaCurrCompany;
	}

	public void setRecaCurrCompany(String recaCurrCompany) {
		this.recaCurrCompany = recaCurrCompany;
	}

	public String getRecaCurrPosition() {
		return recaCurrPosition;
	}

	public void setRecaCurrPosition(String recaCurrPosition) {
		this.recaCurrPosition = recaCurrPosition;
	}

	public String getRecaAdditional1() {
		return recaAdditional1;
	}

	public void setRecaAdditional1(String recaAdditional1) {
		this.recaAdditional1 = recaAdditional1;
	}

	public String getRecaAdditional2() {
		return recaAdditional2;
	}

	public void setRecaAdditional2(String recaAdditional2) {
		this.recaAdditional2 = recaAdditional2;
	}

	public String getRecaAdditional3() {
		return recaAdditional3;
	}

	public void setRecaAdditional3(String recaAdditional3) {
		this.recaAdditional3 = recaAdditional3;
	}

	public String getRecaAdditional4() {
		return recaAdditional4;
	}

	public void setRecaAdditional4(String recaAdditional4) {
		this.recaAdditional4 = recaAdditional4;
	}

	public String getRecaAdditional5() {
		return recaAdditional5;
	}

	public void setRecaAdditional5(String recaAdditional5) {
		this.recaAdditional5 = recaAdditional5;
	}

	public String getRecaAdditional6() {
		return recaAdditional6;
	}

	public void setRecaAdditional6(String recaAdditional6) {
		this.recaAdditional6 = recaAdditional6;
	}

	public String getRecaAdditional7() {
		return recaAdditional7;
	}

	public void setRecaAdditional7(String recaAdditional7) {
		this.recaAdditional7 = recaAdditional7;
	}

	public String getRecaAdditional8() {
		return recaAdditional8;
	}

	public void setRecaAdditional8(String recaAdditional8) {
		this.recaAdditional8 = recaAdditional8;
	}

	public String getRecaResume1() {
		return recaResume1;
	}

	public void setRecaResume1(String recaResume1) {
		this.recaResume1 = recaResume1;
	}

	public String getRecaResume2() {
		return recaResume2;
	}

	public void setRecaResume2(String recaResume2) {
		this.recaResume2 = recaResume2;
	}

	public Date getRecaBirthDate() {
		return recaBirthDate;
	}

	public void setRecaBirthDate(Date recaBirthDate) {
		this.recaBirthDate = recaBirthDate;
	}

	public String getRecaInterviewStatus() {
		return recaInterviewStatus;
	}

	public void setRecaInterviewStatus(String recaInterviewStatus) {
		this.recaInterviewStatus = recaInterviewStatus;
	}

	public Recruitchannel getRecaChannelNo() {
		return recaChannelNo;
	}

	public void setRecaChannelNo(Recruitchannel recaChannelNo) {
		this.recaChannelNo = recaChannelNo;
	}

	public Recruitplan getRecaPlanId() {
		return recaPlanId;
	}

	public void setRecaPlanId(Recruitplan recaPlanId) {
		this.recaPlanId = recaPlanId;
	}

	public Employee getRecaReferEmpNo() {
		return recaReferEmpNo;
	}

	public void setRecaReferEmpNo(Employee recaReferEmpNo) {
		this.recaReferEmpNo = recaReferEmpNo;
	}

	public Employee getRecaLastChangeBy() {
		return recaLastChangeBy;
	}

	public void setRecaLastChangeBy(Employee recaLastChangeBy) {
		this.recaLastChangeBy = recaLastChangeBy;
	}

	public Employee getRecaCreateBy() {
		return recaCreateBy;
	}

	public void setRecaCreateBy(Employee recaCreateBy) {
		this.recaCreateBy = recaCreateBy;
	}

	public Employee getRecaRelationEmpNo() {
		return recaRelationEmpNo;
	}

	public void setRecaRelationEmpNo(Employee recaRelationEmpNo) {
		this.recaRelationEmpNo = recaRelationEmpNo;
	}

	public boolean equals(Object obj) {
		if (null == obj)
			return false;
		if (!(obj instanceof Recruitapplier))
			return false;
		if (obj instanceof Recruitapplier) {
			Recruitapplier recruitapplier = (Recruitapplier) obj;
			return recaName.equals(recruitapplier.getRecaName().trim())
					&& recaPhone.equals(recruitapplier.getRecaPhone().trim())
					&& recaEmail.equals(recruitapplier.getRecaEmail().trim());
		} else {
			return false;
		}
	}

	public int hashCode() {
		if (0x80000000 == hashCode) {
			if (null == getId())
				return super.hashCode();
			String hashStr = (new StringBuilder()).append(getClass().getName())
					.append(":").append(getId().hashCode()).toString();
			hashCode = hashStr.hashCode();
		}
		return hashCode;
	}

	public String toString() {
		return super.toString();
	}

	public static String REF = "Recruitapplier";
	public static String PROP_RECA_NAME = "recaName";
	public static String PROP_RECA_INTERVIEWER = "recaInterviewer";
	public static String PROP_RECA_DIPLOMA = "recaDiploma";
	public static String PROP_RECA_COMMENT = "recaComment";
	public static String PROP_RECA_EMAIL = "recaEmail";
	public static String PROP_RECA_CHANNEL_NO = "recaChannelNo";
	public static String PROP_RECA_CHANNEL_ID = "recaChannelId";
	public static String PROP_RECA_PHONE = "recaPhone";
	public static String PROP_RECA_MSN = "recaMsn";
	public static String PROP_RECA_QQ = "recaQq";
	public static String PROP_RECA_LAST_CHANGE_TIME = "recaLastChangeTime";
	public static String PROP_RECA_LAST_CHANGE_BY = "recaLastChangeBy";
	public static String PROP_RECA_CREATE_TIME = "recaCreateTime";
	public static String PROP_RECA_ATTACHMENT_NAME = "recaAttachmentName";
	public static String PROP_ID = "id";
	public static String PROP_RECA_CREATE_BY = "recaCreateBy";
	public static String PROP_RECA_INTERVIEW_TIME = "recaInterviewTime";
	public static String PROP_RECA_PLAN_ID = "recaPlanId";
	public static String PROP_RECA_STATUS = "recaStatus";
	public static String PROP_RECA_REFER_EMP_NO = "recaReferEmpNo";
	public static String PROP_RECA_APPLY_DATE = "recaApplyDate";
	public static String PROP_RECA_GENDER = "recaGender";
	public static String PROP_RECA_CURR_LOC = "recaCurrLoc";
	public static String PROP_RECA_RESIDENCE_LOC = "recaResidenceLoc";
	public static String PROP_RECA_WORK_YEARS = "recaWorkYears";
	public static String PROP_RECA_SCHOOL = "recaSchool";
	public static String PROP_RECA_SPECIALITY = "recaSpeciality";
	public static String PROP_RECA_CURR_ADDR = "recaCurrAddr";
	public static String PROP_RECA_CURR_ZIP = "recaCurrZip";
	public static String PROP_RECA_CURR_COMPANY = "recaCurrCompany";
	public static String PROP_RECA_CURR_POSITION = "recaCurrPosition";
	public static String PROP_RECA_ADDITIONAL1 = "recaAdditional1";
	public static String PROP_RECA_ADDITIONAL2 = "recaAdditional2";
	public static String PROP_RECA_ADDITIONAL3 = "recaAdditional3";
	public static String PROP_RECA_ADDITIONAL4 = "recaAdditional4";
	public static String PROP_RECA_ADDITIONAL5 = "recaAdditional5";
	public static String PROP_RECA_ADDITIONAL6 = "recaAdditional6";
	public static String PROP_RECA_ADDITIONAL7 = "recaAdditional7";
	public static String PROP_RECA_ADDITIONAL8 = "recaAdditional8";
	public static String PROP_RECA_RESUME1 = "recaResume1";
	public static String PROP_RECA_RESUME2 = "recaResume2";
	public static String PROP_RECA_BIRTH_DATE = "recaBirthDate";
	public static String PROP_RECA_INTERVIEW_STATUS = "recaInterviewStatus";
	public static String PROP_RECA_RELATION_EMP_NO = "recaRelationEmpNo";
	private int hashCode;
	private String id;
	private String recaName;
	private String recaPhone;
	private String recaMsn;
	private String recaQq;
	private String recaEmail;
	private String recaDiploma;
	private Date recaInterviewTime;
	private String recaAttachmentName;
	private Integer recaStatus;
	private String recaComment;
	private Date recaCreateTime;
	private Date recaLastChangeTime;
	private String recaChannelId;
	private Date recaApplyDate;
	private Integer recaGender;
	private String recaCurrLoc;
	private String recaResidenceLoc;
	private String recaWorkYears;
	private String recaSchool;
	private String recaSpeciality;
	private String recaCurrAddr;
	private String recaCurrZip;
	private String recaCurrCompany;
	private String recaCurrPosition;
	private String recaAdditional1;
	private String recaAdditional2;
	private String recaAdditional3;
	private String recaAdditional4;
	private String recaAdditional5;
	private String recaAdditional6;
	private String recaAdditional7;
	private String recaAdditional8;
	private String recaResume1;
	private String recaResume2;
	private Date recaBirthDate;
	private String recaInterviewStatus;
	private Recruitchannel recaChannelNo;
	private Employee recaLastChangeBy;
	private Recruitplan recaPlanId;
	private Employee recaCreateBy;
	private Employee recaReferEmpNo;
	private Employee recaInterviewer;
	private Employee recaRelationEmpNo;

}
